package com.vince.service;

import com.vince.spring.Autowired;
import com.vince.spring.Component;

@Component("testService")
public class TestServiceImpl implements TestService{

    @Autowired
    UserService userService;

    @Autowired
    OrderService orderService;

    @Override
    public void test() {
        System.out.println("my in test..............");
        userService.sayHello();
        orderService.submitOrder();
    }
}
